package com.itheima.service.mongo;

import com.itheima.domain.mongo.UserLike;
import com.itheima.domain.vo.PageBeanVo;
import com.itheima.domain.vo.UserLikeCountVo;

public interface UserLIkeService {

    //添加
    void saveUserLike(UserLike userLike);

    //判断是否相互喜欢
    boolean isMutualLike (Long userId ,Long likeUserId);

    //删除喜欢关系
    void removeUserLike(Long userId , Long likeUserId);

    //统计关系
    UserLikeCountVo findUserLikeCountVo(Long userId);

    //我的详情
    PageBeanVo findUserLikeVoByType(Long userId ,Integer type ,Integer pageNum ,Integer pageSize);

}
